projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8282330
)
Fix the previous imenu commit
author
Matthew Newton
<matt@mnewton.com>
Fri, 20 Sep 2019 13:01:47 +0000
(15:01 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 20 Sep 2019 13:01:52 +0000
(15:01 +0200)
* lisp/imenu.el (imenu--make-index-alist): Always return the alist
(bug#30449).
Copyright-paperwork-exempt: yes
lisp/imenu.el
patch
|
blob
|
history
diff --git
a/lisp/imenu.el
b/lisp/imenu.el
index 9df597b4d63845fea7fbb297d68cd3a235ddb779..f8bfc4046c8677a49b138bc2d8a14ea9c5ed0896 100644
(file)
--- a/
lisp/imenu.el
+++ b/
lisp/imenu.el
@@
-510,7
+510,8
@@
See `imenu--index-alist' for the format of the index alist."
"No items suitable for an index found in this buffer"))
(or imenu--index-alist
(setq imenu--index-alist (list nil)))
- (unless imenu-auto-rescan
+ (if imenu-auto-rescan
+ imenu--index-alist
;; Add a rescan option to the index.
(cons imenu--rescan-item imenu--index-alist)))